var netbus = require('../netbus/netbus.js');

//测试启动tcp server
// netbus.start_tcp_server('127.0.0.1', 6080,netbus.PROTO_BUF);
// netbus.start_tcp_server('127.0.0.1', 6080,netbus.PROTO_JSON);
//测试启动websocket server
// netbus.start_ws_server('127.0.0.1', 6081,netbus.PROTO_BUF);
netbus.start_ws_server('127.0.0.1', 6081,netbus.PROTO_JSON);